//out: ../css/

@import './base';
@vw:3.75vw;

body{
  padding: 0 (15/@vw);
}

.container{
  width: 100%;
  height: (84/@vw);
  position: fixed;
  top: 0;
  left: 0;
  padding: 0 (15/@vw);
  background-color: #fff;
  z-index: 10;
}

header{
  width: 100%;
  height: (44/@vw);
  display: flex;
  background-color: #fff;
  justify-content: space-between;
  align-items: center;
    img{
      width: (66/@vw); 
      height: (30/@vw); 
    }
    .right {
      width: (160/@vw);
      display: flex;
      align-items: center;
      justify-content: space-between;
        span{
          font-size: (20/@vw);
          color: #cccccc;
          font-weight: 700;
        }
        a {
          width: (24/@vw);
          height: (24/@vw);
          background-color: #e7e7e7;
          border-radius: (12/@vw);
          font-size: (9/@vw);
          font-weight: 600;
          text-align: center;
          line-height: (24/@vw);
          color:#f69 ;
        }
        p{
          width: (72/@vw);
          height: (24/@vw);
          background-color: #f69;
          color: #fff;
          border-radius: (5/@vw);
          font-size: (12/@vw);
          font-weight: 500;
          text-align: center;
          line-height:(24/@vw);
        }
    }
}

.nav-box {
  width: 100%;
  height: (40/@vw);
  // background-color: pink;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
    a {
      width: (60/@vw);
      height: 100%;
      line-height: (40/@vw);
      text-align: center;
        span {
          font-size: (14/@vw);
        }
        .first{
          color: #f69;
        }
        .iconfont {
          color: #cccccc;
        }
    }
    p{
      width: (30/@vw);
      height: (2/@vw);
      background-color: #f69;
      position: absolute;
      bottom: 0;
      left: (10/@vw);
    }
}

.list {
  margin-top: (84/@vw);
  width: 100%;
  flex-grow: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
    .item {
      width: (172/@vw);
      height: (151/@vw);
      padding:(5/@vw) ;
      display: flex;
      flex-direction: column;
      // justify-content: space-between;
      position: relative;
        img{
          width: 100%;
        }
        .txt{
          width: (162/@vw);
          height: (27/@vw);
          display: flex;
          justify-content: space-between;
          align-items: center;
          position: absolute;
          bottom: (50/@vw);
          padding: 0 (5/@vw);
            a {
              font-size: (12/@vw);
              color: #fff;
              .iconfont {
                font-size: (12/@vw);
                margin-right: (5/@vw);
              }
            }
        }
        p {
          margin-top: (10/@vw);
          font-size: (13/@vw);
          overflow: hidden;
          display: -webkit-box;
          -webkit-box-orient: vertical;
          -webkit-line-clamp: 2;
        }
    }
}

footer {
  width: (351/@vw);
  height: (37/@vw);
  background-color: #f69;
  border-radius: (18/@vw);
  position: fixed;
  bottom: (30/@vw);
  display: flex;
  justify-content: center;
  align-items: center;
    span {
      color: #fff;
      margin-right: (15/@vw);
    }
    p {
      color: #fff;
    }
}